.gallery-container {
    padding: 10px 0;
}

.section-intro {
    text-align: center;
    margin-bottom: 4rem;
}

.reveal {
    padding-top: 40px;
    padding-bottom: 40px;
}

.premium-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 25px;
    margin-bottom: 0px;
}

.premium-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    background: #fff;
    transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    height: 450px;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.premium-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
}

.premium-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.premium-card:hover img {
    transform: scale(1.1);
}

.card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.8) 0%,
        rgba(0, 0, 0, 0.4) 60%,
        transparent 100%
    );
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.premium-card:hover .card-overlay {
    opacity: 1;
}

.project-category {
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent-color);
    margin-bottom: 8px;
    display: block;
}

.project-title {
    font-family: "Outfit", sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 10px;
}

.project-meta {
    font-size: 0.85rem;
    opacity: 0.8;
    display: flex;
    align-items: center;
    gap: 15px;
}

.project-meta i {
    color: var(--accent-color);
}

.section-divider {
    height: 1px;
    background: linear-gradient(
        to right,
        transparent,
        var(--accent-color),
        transparent
    );
    margin: 0 0;
    opacity: 0.3;
}

.category-title {
    font-family: "Outfit", sans-serif;
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    text-align: left;
    position: relative;
    padding-left: 20px;
}

.category-title::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 80%;
    background: var(--accent-color);
    border-radius: 10px;
}

.badge-premium {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
}

/* Modal Enhancements */
.lightbox-modal {
    background-color: rgba(12, 58, 43, 0.95);
}

.modal-info {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: #fff;
    width: 80%;
    max-width: 800px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 20px;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}
